package system;

public class Grade {
    //属性

    //1、科目
    private String subject;

    //2、成绩
    private int score;
    //全参构造
    public Grade(String subject, int score) {
        this.subject = subject;
        this.score = score;
    }
    public String getSubject() {
        return subject;
    }


    public int getScore() {
        return score;
    }


}
